package com.suotuo.module.shiro.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * @author liulubingjava@163.com
 * @date 2019/1/30 15:55
 */
@Entity
@Data
public class SysMenu {
    @Id
    private Integer menuId;
    // 父级菜单id
    private Integer parentId;
    private String name;
    private String url;
    private String perms;
    //菜单类型#0:父级菜单 1:子级菜单 2:按钮
    private Integer type;
    private Integer orderNum;
    //fontawsome图片
    private String icon;
}
